package cn.terminus.web.customer.userrecordinfo.form;


import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

@Data
@ApiModel("新增客户跟进信息参数")
public class AddUserRecordInfoForm implements Serializable {
    private static final long serialVersionUID = -9086447007772278974L;

    /**
     * 客户ID
     */
    @ApiModelProperty(name = "cboCustomId", value = "客户ID", required = true)
    private Long cboCustomerId;

    /**
     * 记录人id
     */
    @ApiModelProperty(name = "salesId", value = "记录人id", required = true)
    private Long salesId;

    /**
     * 记录人姓名
     */
    @ApiModelProperty(name = "salesName", value = "记录人姓名", required = true)
    private String salesName;

    /**
     * 跟进记录
     */
    @ApiModelProperty(name = "record", value = "跟进记录", required = true)
    private String record;
    /**
     * 跟进时间
     */
    @ApiModelProperty(name = "followTime", value = "跟进时间", required = false)
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date followTime;

}
